package org.model.comm;

import java.util.List;

public class Page {
	private long currentPageNum;//当前页		*
	private long pageSize ;//每页几条		*
	private long endIndex;//跳转页
	private long total;
	
	
	public long getCurrentPageNum() {
		return	(currentPageNum-1)*getPageSize();
		
		
	}
	public void setCurrentPageNum(long currentPageNum) {
		this.currentPageNum = currentPageNum;
	}
	public long getPageSize() {
		return pageSize;
	}
	public void setPageSize(long pageSize) {
		this.pageSize = pageSize;
	}
	public long getEndIndex() {
		return endIndex;
	}
	public void setEndIndex(long endIndex) {
		this.endIndex = endIndex;
	}
	public long getTotal() {
		return total;
	}
	public void setTotal(long total) {
		this.total = total;
	}
	


}
